{extends file="../home.html"}
{block name="title"}{$head_title}{/block}
{block name="css"}
<!-- <link rel="stylesheet" style="text/css" href="__PUBLIC__/Css/front/user_glb.css?version={$version}"> -->
<link rel="stylesheet" style="text/css" href="__PUBLIC__/Css/front/front_css/detail_page.css?version={$version}">
<style type="text/css">
    body{
        padding-bottom:3rem;
        padding-top:2.2rem;
    }
    .service_header a.add-bp{
    	color:#fff;
    	font-size:0.8rem;
    	height:2.2rem;
    	line-height:2.2rem;
    	top:0;
    }
    .bp-items i{
    	margin-right:0.3rem;
    }
    .bp-items{
    	padding-right:0.5rem;
    }
</style>
{/block}
{block name="content"}
<div class="service_header">
    <i class="icon icon_back_default3x mui-action-back" onclick="return_last_page();" style="top:.7rem"></i>
    <span class="mui-action-back" onclick="return_last_page();">返回</span>
    <p>提交BP</p>
    <a href="/FrontEnjoy/add_bp" class="add-bp fr">添加</a> 
</div>

<div class="bp-wrap">
    {foreach from=$project_list item=v}
    <div class="bp-items clearfix">
        <i class="fl pic icon_xuanze_default3x"></i>
        <dl class="fl">
            <dt class="fl">
                <img src="{$v.pic}"/>
            </dt>
            <dd class="fr">
                <p class="items-head clearfix">
                    <span class="pro-bpname">{$v.project_name}</span>
                    <span class="pro-bpperson">{$v.nickname}</span>
                </p>
                <p class="pro-bpcont">
                    {$v.project_desc}
                </p>
            </dd>
        </dl>
    </div>
    {/foreach}
</div>


<div class="submit_btn">提交</div>

{/block}
{block name="js"}
{literal}
<!-- <script type="text/javascript" src="__PUBLIC__/Js/front/iscroll.js"></script> -->
<script type="text/javascript" src="/Public/Js/front/front_js/ajaxupload.3.5.js"></script>
        <script type="text/javascript">
                /*$(window).load(function() {
                });*/
            $(function()
            {
                /*$(".service_header i,.service_header span").on("click",function()
                {
                    history.go(-1);
                });*/
                $(".bp-items").on("click",function(){
                   $(this).find("i").toggleClass("icon_xuanze_default3x").toggleClass("icon_xuanze_selected3x");
                    $(this).siblings().find("i").removeClass("icon_xuanze_selected3x").addClass("icon_xuanze_default3x");
                });

            });
        </script>
{/literal}
{/block}